package com.liuwei.msmall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Classname Category2Vo
 * @Description TODO
 * @Date 2020/6/15 22:12
 * @Created by 刘
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Category2Vo {
    private String catalog1Id;//父级id
    private String id;//自己的id
    private String name;//自己分类的名字

    private List<Category3Vo> catalog3List;//自己分类下的3级分类集合

    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class Category3Vo{

        private String catalog2Id;//2级分类id
        private String id;//3级分类id
        private String name;//3级分类名字

    }


}
